import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import("../views/home.vue"),
  },
  {
    path: "/drag",
    name: "drag",
    component: () => import("../views/drag/index.vue"),
  },
  {
    path: "/drag2",
    name: "drag2",
    component: () => import("../views/drag2/index.vue"),
  },
  {
    path: "/drag3",
    name: "drag3",
    component: () => import("../views/drag3/index.vue"),
  },
  {
    path: "/drag4",
    name: "drag4",
    component: () => import("../views/drag4/index.vue"),
  },
];

export default createRouter({
  history: createWebHistory(),
  routes,
});
